package com.customer.dao;

import com.customer.entity.customer;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface customerDao extends JpaRepository<customer,Integer> {

    customer findByUsername(String username);
    customer findByUsernameAndAndPassword(String username,String password);
}
